package com.ydj.app.protocol.http.cms;

import com.ydj.app.enumerate.ForecastQuestionCateEnum;
import com.ydj.framework.mysql.PageArgs;
import com.ydj.framework.protocol.JsonPageResponse;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Date;

@Setter
@Getter
@Accessors(chain = true)
public class CmsForecastResultListRes extends JsonPageResponse<CmsForecastResultListRes.WebForecastListResItem> {
	public CmsForecastResultListRes(PageArgs pageArgs) {
		super(pageArgs);
	}

	@Setter
	@Getter
	@Accessors(chain = true)
	public static class WebForecastListResItem {
		@ApiModelProperty(value = "ID", required = true)
		private Long id;

		@ApiModelProperty(value = "手机/邮箱", required = true)
		private String mobileEmail;

		@ApiModelProperty(value = "预测类型", required = true)
		private ForecastQuestionCateEnum cate;

		@ApiModelProperty(value = "成功率", required = true)
		private Integer rate;

		@ApiModelProperty(value = "联系方式", required = true)
		private String contact;

		@ApiModelProperty(value = "预测日期", required = true)
		private Date createTime;
	}
}